package com.mk.admin.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("t_message_record")
public class MessageRecordEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String messageId; //消息id
    private String sender; //发送者
    private String receiver;//接受者
    private String content;//消息内容
    private String contentType;//消息内容类型
    private String sendTime;//发送时间
    private boolean isDoc;//是否是医生发的
    private String scope;//作用范围
    private String isRead;//是否已读
    private String type;//消息类型
    private String patId;//患者id
    private Integer status;
    @TableField(exist = false)
    private String orderBy;
}
